{% extends 'TopxiaWebBundle:User:layout.html.twig' %}

{% block title %}{{ parent() }}{% endblock %}

{% set pageNav = 'group' %}

{% block main %}
  {% if adminGroups %}
  <div class="page-header">
    <h4> 管理的讨论区</h4>
  </div>
  {% include 'TopxiaWebBundle:Group:groups-ul.html.twig' with {'groups':adminGroups,}%}
  {% endif %}
  <div class="page-header">
    <h4> 加入的讨论区</h4>
  </div>
  {% include 'TopxiaWebBundle:Group:groups-ul.html.twig' with {'groups':groups} %}
  
  {{ web_macro.paginator(paginator) }}
{% endblock %}